import { onLoad, onShow } from '@dcloudio/uni-app'
import { reactive } from 'vue'

export function useShowAndLoad(callback) {
  let hasload = false
  let routerParams = reactive({})

  onLoad((options) => {})

  onShow(() => {})

  return {
    routerParams,
  }
}
